<include file="Public:pageheader" />
<table id="mytable" cellspacing="0" align="center">
<caption>Tag : {$Think.lang.list_district}</caption>
<input class="button" type="button" value="{%add_district}" onclick="window.location.href='__URL__/add/id/{$list[0].garden_id}'"/>&nbsp;&nbsp;&nbsp;&nbsp;

<tr>
	<th scope="col">{$Think.lang.number}</th>
	<th scope="col">{$Think.lang.district_name}</th>
    <th scope="col">{$Think.lang.district_description}</th> 
    <th scope="col">{$Think.lang.district_status}</th>

	<th scope="col">{$Think.lang.operation}</th>
</tr>
<iterate name="list" id="v">
<tr>
<th scope="row" class="spec">{$v.id}</th>
<td>{$v.name}</td>
<td>{$v.description}</td> 
<td>
<if condition="$v.status eq 1">有空位
<elseif condition="$v.status eq 2"/>无空位
<else />未知
</if>
</td> {$page}

<td align="center">
<a href="__URL__/edit/id/{$v.id}" title="{$Think.lang.edit}"><img src="__PUBLIC__/images/pencil.png" alt="{$Think.lang.edit}" /></a>
<a href="__URL__/delete/id/{$v.id}" title="{$Think.lang.delete}" onclick="return confirm('你确定要删除吗？')"><img src="__PUBLIC__/images/cross.png" alt="{$Think.lang.delete}" /></a> 							
</td>
</tr>
</eq>
</iterate>

</table><br/>
&nbsp;&nbsp;&nbsp;&nbsp;{$page}
<include file="Public:footer" />